# 【练习】选择排序
# 编写一个Python程序，实选择速排序。
from 测吧.src.week1.day5.selection_sort import *
def test_selection_sort():
    assert selection_sort([9, 8, 7, 6, 5, 4, 3, 2, 1]) == [1, 2, 3, 4, 5, 6, 7, 8, 9]
    assert selection_sort([8, 1, 6, 2, 5, 3, 9]) == [1, 2, 3, 5, 6, 8, 9]
test_selection_sort()